package com.spic.business.registrationform.domain;

import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import com.spic.common.core.annotation.Excel;
import com.spic.common.core.web.domain.BaseEntity;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;

/**
 * 三项岗位人员安全培训、考核记录对象 archive_staff_postholders_records
 * 
 * @author spic
 * @date 2022-07-20
 */
public class ArchiveStaffPostholdersRecords extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** $column.columnComment */
    private Long studyId;

    /** $column.columnComment */
    @Excel(name = "员工档案编号")
    private String staffArchiveId;

    /** $column.columnComment */
    @Excel(name = "培训时间")
    @JsonFormat(pattern = "yyyy-MM-dd")
    private Date studyTime;

    /** $column.columnComment */
    @Excel(name = "证件类型")
    private String certType;

    /** $column.columnComment */
    @Excel(name = "考核成绩")
    private String checkResult;

    /** 下次复审时间 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "下次复审时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date reviewTime;

    public void setStudyId(Long studyId) 
    {
        this.studyId = studyId;
    }

    public Long getStudyId() 
    {
        return studyId;
    }
    public void setStaffArchiveId(String staffArchiveId) 
    {
        this.staffArchiveId = staffArchiveId;
    }

    public String getStaffArchiveId() 
    {
        return staffArchiveId;
    }
    public void setStudyTime(Date studyTime) 
    {
        this.studyTime = studyTime;
    }

    public Date getStudyTime() 
    {
        return studyTime;
    }
    public void setCertType(String certType) 
    {
        this.certType = certType;
    }

    public String getCertType() 
    {
        return certType;
    }
    public void setCheckResult(String checkResult) 
    {
        this.checkResult = checkResult;
    }

    public String getCheckResult() 
    {
        return checkResult;
    }
    public void setReviewTime(Date reviewTime) 
    {
        this.reviewTime = reviewTime;
    }

    public Date getReviewTime() 
    {
        return reviewTime;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("studyId", getStudyId())
            .append("staffArchiveId", getStaffArchiveId())
            .append("studyTime", getStudyTime())
            .append("certType", getCertType())
            .append("checkResult", getCheckResult())
            .append("reviewTime", getReviewTime())
            .toString();
    }
}
